package com.ruoyi.wechat.domain;

import java.math.BigDecimal;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 营地营位对象 c_campsite
 * 
 * @author 马传
 * @date 2024-07-26
 */
@ApiModel(value = "Campsite", description = "营地营位模型")
public class Campsite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 营位Id */
    @Excel(name = "营位Id")
    @ApiModelProperty("营位的唯一标识")
    private String campsiteId;

    /** 营地Id */
    @Excel(name = "营地Id")
    @ApiModelProperty("营地的Id唯一标识")
    private String campId;

    /** 营位费 */
    @Excel(name = "营位费")
    @ApiModelProperty("营位费")
    private BigDecimal originalPrice;

    /** 会员价 */
    @Excel(name = "会员价")
    @ApiModelProperty("会员价")
    private BigDecimal memberPrice;

    /** 营地条件 */
    @Excel(name = "营地条件")
    @ApiModelProperty("营地条件,多选 1:有水 2:有电 3:无水 4:无电 5:有新能源车充电桩 6:有卫生间 7:其他条件用")
    private String factor;

    /** 营地条件查询使用 */
    private List<Integer> factors;
    /**营位条件返回字段**/
    private List<String> refactor;

    public void setCampsiteId(String campsiteId) 
    {
        this.campsiteId = campsiteId;
    }

    public String getCampsiteId() 
    {
        return campsiteId;
    }
    public void setCampId(String campId) 
    {
        this.campId = campId;
    }

    public String getCampId() 
    {
        return campId;
    }
    public void setOriginalPrice(BigDecimal originalPrice) 
    {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getOriginalPrice() 
    {
        return originalPrice;
    }
    public void setMemberPrice(BigDecimal memberPrice) 
    {
        this.memberPrice = memberPrice;
    }

    public BigDecimal getMemberPrice() 
    {
        return memberPrice;
    }
    public void setFactor(String factor) 
    {
        this.factor = factor;
    }

    public String getFactor() 
    {
        return factor;
    }

    public List<Integer> getFactors() {
        return factors;
    }

    public void setFactors(List<Integer> factors) {
        this.factors = factors;
    }

    public List<String> getRefactor() {
        return refactor;
    }

    public void setRefactor(List<String> refactor) {
        this.refactor = refactor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("campsiteId", getCampsiteId())
            .append("campId", getCampId())
            .append("originalPrice", getOriginalPrice())
            .append("memberPrice", getMemberPrice())
            .append("factor", getFactor())
            .toString();
    }
}
